package com.lizemin.spi.impl;

import com.lizemin.spi.Storage;
import lombok.extern.slf4j.Slf4j;

import java.io.InputStream;

/**
 * @author lzm
 * @date 2025/5/29 19:50
 * @description 腾讯云对象存储的实现类
 */
@Slf4j
public class TencentStorage implements Storage {

    @Override
    public InputStream getObject(String bucketName, String objectName) {
        log.info("开始将从【腾讯云】的对象存储上的{}桶下载名为{}的对象", bucketName, objectName);
        return null;
    }

    @Override
    public void putObject(String bucketName, String objectName, InputStream inputStream) {
        log.info("开始将对象【{}】上传到【腾讯云】的对象存储上, 具体的桶名是：{}", objectName, bucketName);
    }

}
